<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Help</title>
<style type="text/css">
#DivHR {
	position:absolute;
	width:981px;
	height:28px;
	z-index:2;
	left: 247px;
	top: 118px;
}
#apDiv3 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:3;
	left: 306px;
	top: 181px;
}

</style>
</head>

<body>
<pre><p>                           <a href="index.php" ><img src="../Resources/eMart logo.png" width="170" height="67" alt="Logo" /></a>                                                               <b><a  style="color:#000; text-decoration:none;" href="customer_support.php">Customer Support</a>  |  <a style="color:#000; text-decoration:none;" href="Terms.php">Privacy Policy</a></b>
<div id="DivHR"><hr/></div>

<div id="apDiv3">
<?php

session_start();

if ($_SESSION['Admin'] == "IN")
{
	echo"<h2>                             Administrator Help</h2>";
	echo" <h4>Update</h4>
	Syntax: UPDATE table_name SET column1=value, column2=value2,... WHERE some_column = some_value
	Example: UPDATE Persons SET Address='Nissestien 67', City='Sandnes' WHERE LastName='Tjessem' AND FirstName='Jakob'
	
	<h4>Insert</h4>
	Syntax: INSERT INTO table_name (column1, column2, column3,...) VALUES (value1, value2, value3,...)
	Example: INSERT INTO Persons (P_Id, LastName, FirstName) VALUES (5, 'Tjessem', 'Jakob')
	
	<h4>Delete</h4>
	Syntax: DELETE FROM table_name WHERE some_column=some_value
	Example: DELETE FROM Persons WHERE LastName='Tjessem' AND FirstName='Jakob'
	<br/>
	
	                                     Click <a href='Admin.php'>HERE</a> to return";
}
else
{
	echo" center><h3>You do not have permissions to view this page<br/>click <a href='login.php'>here</a> to login</h3></center>"; 
}

?>
</div>
</body>
</html>